﻿using System;

namespace EasyConveyor
{
	/// <summary>
	/// Provides data for the <see cref="Application.RequestReceived"/> event.
	/// </summary>
	public sealed class RequestReceivedEventArgs : EventArgs
	{
		internal RequestReceivedEventArgs(ActivatorBase activator, object context)
		{
			Activator = activator;
			Context = context;
		}

		/// <summary>
		/// Gets the instance of the activator that activated the new request.
		/// </summary>
		public ActivatorBase Activator { get; private set; }
		/// <summary>
		/// Gets the context associated with the new request.
		/// </summary>
		public object Context { get; private set; }
	}
}
